/*
 * sync.h
 *
 *  Created on: Dec 23, 2010
 *      Author: cesar
 */

#ifndef SYNC_H
#define SYNC_H

#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include "../Explorer/explorer.h"

#define BUFFER_SIZE 512
#define SYNC_TO_1 1		//Verificar o codigo antes de modificar esses parametros
#define SYNC_TO_2 2
#define SYNC_1_2 3

int syncFolders(p_st_folder f1, p_st_folder f2, char *uriF1, char *uriF2, int mode);

int copyFiles(p_st_folder folderSt, char *uriBase, char *uriCopy);

#endif
